const mongodb = require('./config/mongoose.js');
const express = require('./config/express.js');
// 这里必须先加载mongoose代码，因为express里面的代码需要加载News模型，而News模型是在mongoose里面定义的
const db = mongodb();

const app = express();

module.exports = app;